
#include "main.h"

#include <unistd.h>
#include <GL/gl.h>
#include <GL/glu.h>

int main(int argc, char** argv)
{
	script_init();

	vid_init(config_width(), config_height(), config_fullscreen());
	snd_init();

	while (vid_events())
	{
		vid_clear();
		camera_transform();
		canvas_draw();
		vid_flip();
	}

	snd_fini();
	vid_fini();
	
	script_fini();

	return 0;
}
